<!--
 * @Author: Zhang Yingying
 * @Date: 2020-11-16 15:03:42
 * @LastEditors: Zhang Yingying
 * @LastEditTime: 2020-12-01 22:11:47
-->
<script>
import Vue from "vue";
import Component from "vue-class-component";
import { Prop } from "vue-property-decorator";

@Component({
  name: "BaseControl"
})
export default class BaseControl extends Vue {
  @Prop({
    required: true
  })
  value;

  render(h) {
    throw `the method must be implemented by sub-class`;
  }
}
</script>
